<%@ page import="weblicitacao.Empresa" %>



<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="empresa.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${empresaInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'cnpj', 'error')} required">
	<label for="cnpj">
		<g:message code="empresa.cnpj.label" default="Cnpj" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="cnpj" maxlength="18" required="" value="${empresaInstance?.cnpj}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'ie', 'error')} ">
	<label for="ie">
		<g:message code="empresa.ie.label" default="Ie" />
		
	</label>
	<g:textField name="ie" maxlength="20" value="${empresaInstance?.ie}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'endereco', 'error')} ">
	<label for="endereco">
		<g:message code="empresa.endereco.label" default="Endereco" />
		
	</label>
	<g:textField name="endereco" value="${empresaInstance?.endereco}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'numero', 'error')} ">
	<label for="numero">
		<g:message code="empresa.numero.label" default="Numero" />
		
	</label>
	<g:textField name="numero" value="${empresaInstance?.numero}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'complemento', 'error')} ">
	<label for="complemento">
		<g:message code="empresa.complemento.label" default="Complemento" />
		
	</label>
	<g:textField name="complemento" value="${empresaInstance?.complemento}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'bairro', 'error')} ">
	<label for="bairro">
		<g:message code="empresa.bairro.label" default="Bairro" />
		
	</label>
	<g:textField name="bairro" value="${empresaInstance?.bairro}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'cidade', 'error')} ">
	<label for="cidade">
		<g:message code="empresa.cidade.label" default="Cidade" />
		
	</label>
	<g:textField name="cidade" value="${empresaInstance?.cidade}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'uf', 'error')} ">
	<label for="uf">
		<g:message code="empresa.uf.label" default="Uf" />
		
	</label>
	<g:select name="uf" from="${empresaInstance.constraints.uf.inList}" value="${empresaInstance?.uf}" valueMessagePrefix="empresa.uf" noSelection="['': '']"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'cep', 'error')} ">
	<label for="cep">
		<g:message code="empresa.cep.label" default="Cep" />
		
	</label>
	<g:textField name="cep" maxlength="9" value="${empresaInstance?.cep}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'telefone', 'error')} ">
	<label for="telefone">
		<g:message code="empresa.telefone.label" default="Telefone" />
		
	</label>
	<g:textField name="telefone" value="${empresaInstance?.telefone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: empresaInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="empresa.email.label" default="Email" />
		
	</label>
	<g:field type="email" name="email" value="${empresaInstance?.email}"/>
</div>

